/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: yinsh
 * Date: 2025-01-16
 * Time: 15:02
 */
public class MyArray <T extends Comparable<T>>{//T必须为实现了Compareable接口的
    T[] array = (T[]) new Object[10];//定义一个Object类型的数组
}
